Skip to main content

armedIcon

Type​

property

Summary​

Specifies an image to display in a button when the mouse pointer enters it.

Syntax​

set the armedIcon of <button> to {<imageID> | <imageName>}

Description​

Use the armedIcon property to change a button's appearance when it is armed. Do not use this property to create hover icon effects, instead use the hoverIcon property.

If the button's autoArm property is false, the setting of the armedIcon property has no effect.

Examples​

set the armedIcon of button "Trigger" to 2245

Value​

NameTypeDescription

value

The armedIcon property is the ID or name of an image to use for an icon. LiveCode looks for the specified image first in the current stack, then in other open stacks. By default, the armedIcon property of newly created buttons is set to zero.

object: button

property: name, showIcon, ID, armed, autoArm, hoverIcon, icon

function: stacks

glossary: property, mouse pointer, current stack

keyword: image, button

Compatibility and Support​

Introduced

LiveCode 1.1

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?